package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sl.au.entity.Root;

@Entity
@Table(name = "sl_wcsi_part_condition")
public class PartCondition extends Root{
	
	@ManyToOne
	@JoinColumn(name = "conditionType",nullable = true)
	private Option conditionType;//条件分类
	
	@ManyToOne
	@JoinColumn(name = "partBaseInfo",nullable = true)
	private PartBaseInfo partBaseInfo;//部件
	
	@Column(name = "content", nullable = true)
	private String content;

	public Option getConditionType() {
		return conditionType;
	}

	public void setConditionType(Option conditionType) {
		this.conditionType = conditionType;
	}

	public PartBaseInfo getPartBaseInfo() {
		return partBaseInfo;
	}

	public void setPartBaseInfo(PartBaseInfo partBaseInfo) {
		this.partBaseInfo = partBaseInfo;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
